<?php 
class CartWS_Model_PaymentMethod extends Ext_Db_Table
{
	protected $_name = 'sc_payment_method';
	/**
	 * Devuelve los metodos de pago activos
	 * @return Array
	 */
	public function getActivedMethod()
	{
		$rowset = $this->fetchAll(
			$this->select()->where("locked = 'F'")
		);
		if( count($rowset )) {
			return $rowset->toArray();
		}
		return array();
	}
}